﻿using System;
namespace Pay.DTO.rpay4511 {
	/// <summary>
	/// 商户进件请求
	/// </summary>
	public class merchant_req : rpay4511_req_base {
		public merchant_req() {
			pay_type = "11101";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 省份
		/// </summary>
		public string province { get; set; }
		/// <summary>
		/// 城市
		/// </summary>
		public string city { get; set; }
		/// <summary>
		/// 联系电话
		/// </summary>
		public string phone { get; set; }
		/// <summary>
		/// 身份证号
		/// </summary>
		public string idcard { get; set; }
		/// <summary>
		/// 银行卡号
		/// </summary>
		public string bankno { get; set; }
		/// <summary>
		/// 银行名称
		/// </summary>
		public string bankname { get; set; }
		/// <summary>
		/// 支行名称
		/// </summary>
		public string bankbranch { get; set; }
		/// <summary>
		/// 联行号：工商102100099996
		/// </summary>
		public string bankchannelcode { get; set; }
		/// <summary>
		/// 银行代码:如102
		/// </summary>
		public string bankcode { get; set; }
		/// <summary>
		/// 银行代号：如ICBC
		/// </summary>
		public string bankabbr { get; set; }
		/// <summary>
		/// 费率：T0 费率‰:比如千分 4.5 填写 4.5
		/// </summary>
		public string feerate { get; set; }
		/// <summary>
		/// 单笔代付:比如 1 元填写 100
		/// </summary>
		public string witdraw_fee { get; set; }
	}

	/// <summary>
	/// 进件响应
	/// </summary>
	public class merchant_resp : rpay4511_resp_base {
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
	}

	/// <summary>
	/// 商户进件修改费率请求
	/// </summary>
	public class merchant_edit_m1 : rpay4511_req_base {
		public merchant_edit_m1() {
			pay_type = "11102";
			change_type = "1";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 1 交易费率变更,2 银行卡信息变更,4 手续费变更
		/// </summary>
		public string change_type { get; set; }
		/// <summary>
		/// 费率：T0 费率‰:比如千分 4.5 填写 4.5
		/// </summary>
		public string feerate { get; set; }
	}

	/// <summary>
	/// 商户进件修改卡请求
	/// </summary>
	public class merchant_edit_m2 : rpay4511_req_base {
		public merchant_edit_m2() {
			pay_type = "11102";
			change_type = "2";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 1 交易费率变更,2 银行卡信息变更,4 手续费变更
		/// </summary>
		public string change_type { get; set; }
		/// <summary>
		/// 商户名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 省份
		/// </summary>
		public string province { get; set; }
		/// <summary>
		/// 城市
		/// </summary>
		public string city { get; set; }
		/// <summary>
		/// 联系电话
		/// </summary>
		public string phone { get; set; }
		/// <summary>
		/// 身份证号
		/// </summary>
		public string idcard { get; set; }
		/// <summary>
		/// 银行卡号
		/// </summary>
		public string bankno { get; set; }
		/// <summary>
		/// 银行名称
		/// </summary>
		public string bankname { get; set; }
		/// <summary>
		/// 支行名称
		/// </summary>
		public string bankbranch { get; set; }
		/// <summary>
		/// 联行号：工商102100099996
		/// </summary>
		public string bankchannelcode { get; set; }
		/// <summary>
		/// 银行代码:如102
		/// </summary>
		public string bankcode { get; set; }
		/// <summary>
		/// 银行代号：如ICBC
		/// </summary>
		public string bankabbr { get; set; }
	}

	/// <summary>
	/// 商户进件修改结算请求
	/// </summary>
	public class merchant_edit_m4 : rpay4511_req_base {
		public merchant_edit_m4() {
			pay_type = "11102";
			change_type = "4";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 1 交易费率变更,2 银行卡信息变更,4 手续费变更
		/// </summary>
		public string change_type { get; set; }
		/// <summary>
		/// 单笔代付:比如 1 元填写 100
		/// </summary>
		public string witdraw_fee { get; set; }
	}
}
